import django
from django.conf import settings
from mysite.settings import DATABASES,DEBUG

from config import CONFIG

settings.configure(DEBUG=DEBUG,DATABASES=DATABASES)
django.setup()

from fs.filesystem_daemon import main_loop

main_loop(CONFIG)
